/config/app/proxy/realServer//healthMonitor/<hm_name>

Use

Use to attach one or more health monitors to the real sever. See [health](http s://docs.lineratesystems.com/087Release_2.6/250REST_API_Reference_Guide/config /app/health) and [Configuring a Health Monitor](https://docs.lineratesystems.c om/087Release_2.6/100Getting_Started_Guide/Configuring_a_Reverse_Proxy/300Conf iguring_Load_Balancing#Configuring_a_Health_Monitor).

Parameters

name: Name of real server

hm_name: Name of health monitor–Must use only a [limited character set](https ://docs.lineratesystems.com/087Release_2.6/250REST_API_Reference_Guide/000Gett ing_Started_with_the_REST_API/300Understanding_the_REST_Hierarchy#Limited_Char acter_Set).

Data Key

The data key must match the name of the health monitor.

Data Type

string

Default Data Value

“”

Default Allowed

False

Request Methods

GET, POST, PUT, DELETE

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/app/proxy/real Server/rs1/healthMonitor/hm1

GET Response

{/config/app/proxy/realServer/rs-01-01/healthMonitor/hm1: {
        default: false,
        type: "string",
        data: "hm1",
        numChildren: 0,
        defaultAllowed: false,
        deleteAllowed: true
        },
    httpResponseCode: 200,
    requestPath: "/config/app/proxy/realServer/rs-01-01/healthMonitor/hm1",
    recurse: true
}

POST

curl -b cookie.jar –data @data.json -k -H “Content-Type: application/json” -X POST https://10.1.2.3:8443/lrs/api/v1.0/config/app/proxy/realServer/rs1/health Monitor/hm1

POST Response

{"httpResponseCode": 200,
  "requestPath": "/config/app/proxy/realServer/rs1/healthMonitor/hm-01",
  "recurse":false}
  1. /config/app/proxy/realServer//healthMonitor/<hm_name> 1. Parameters 2. Data Key
    1. Data Type
    2. Default Data Value 3. Default Allowed 4. Request Methods 5. Related 6. Examples